package net.wy.myBatisPlugin.page.dialect;


/**
 * @author lcs
 * @date 2014-07-17 09:52:56
 */
public class MySQLDialect implements IDialect{
    public String getLimitString(String sql, int offset, int limit) {
    	if( offset != -1 && limit != -1 ){
    		return sql + " LIMIT " + offset + " , " + limit;
    	}
    	return sql;
    }
}
